package cn.iocoder.yudao.module.call.controller.admin.billrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 消费记录新增/修改 Request VO")
@Data
public class BillRecordSaveReqVO {

    @Schema(description = "主键编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22562")
    private Long id;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "数量不能为空")
    private Integer amount;

    @Schema(description = "类型：1-call", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "类型：1-call不能为空")
    private Boolean type;

    @Schema(description = "员工", example = "11987")
    private Long ownerUserId;

    @Schema(description = "租户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "租户不能为空")
    private Long tenantId;

    private Long channelId;

    @Schema(description = "通话计费成本价", example = "1")
    private Double callCostPrice;


    @Schema(description = "通话计费销售价", example = "1")
    private Double callSalePrice;

}